package com.ishowcode.annotation;

import org.springframework.web.bind.annotation.Mapping;

import java.lang.annotation.*;

@Target({ElementType.METHOD,ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface GlobalInterceptor {
//    校验登录
    boolean checkLogin() default false;
    boolean checkParam() default false;
//    校验超级管理员
    boolean checkAdmin() default false;
}
